Meta description:
When performing an action that deals Blunt damage, the character may spend 4 SP to apply the Psychological Impaired 1 status to the affected target. The effect lasts for 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the impairment value does not stack.
-
Name:
mDizzyI
-
Displayed name:
Dizzy I
-
Description:
When performing an action that deals Blunt damage, the character may spend 4 SP to apply the Psychological Impaired 1 status to the affected target. The effect lasts for 5 seconds. Reapplying this effect while it is already active resets the duration to 5 seconds; the impairment value does not stack.
-
Cost:
expCost(300,100)-0
-
Script:
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Condition:
action:tagsContain([[bluntDamage]])
-
Description:
-
Variables:
vDizzyCost = 4 vDizzyDuration = 5 vDizzyImpaired = 1
-
Script:
-
Action effects:
-
Use case:
vApplyDizzy*3
-
Name:
Dizzy
-
Description:
You can spend vDizzyCost.string SP to inflict Psychological Impaired vDizzyImpaired.string for vDizzyDuration.string seconds.
-
Script:
sPsychologicalImpaired = character:createStat("sPsychologicalImpaired", "temporary") sPsychologicalImpaired.displayName:set("Psychological impaired") mDizzy = character:createEffect("mDizzy") mDizzy.displayName:set("Dizzy") mDizzy.description:set("Inflict Psychological Impaired {{vDizzyImpaired}} to the character.") mDizzy.duration:set({{vDizzyDuration}}) mDizzy.script:set([=[character.sPsychologicalImpaired:addNormal({{vDizzyImpaired}}, [[natural]], [[Dizzy]])]=]) mDizzy:activate()
-
Variables:
vApplyDizzy = ToggleVariable([[vApplyDizzy]],[[Dizzy]])
-
-
-
Upgrades:
-
Name:
mDizzyII
-
Displayed name:
Dizzy II
-
Description:
Increase the Dizzy duration to 10 seconds.
-
Cost:
expCost(600,200)-150
-
Script:
master.displayName:set([[Dizzy II]]) master.description:replace([[5 seconds]],[[10 seconds]]) master.addOns[1].variables:replace([[vDizzyDuration = 5]],[[vDizzyDuration = 10]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Name:
mDizzyIII
-
Displayed name:
Dizzy III
-
Description:
Reduces the SP needed to apply the Dizzy to 3 SP.
-
Cost:
expCost(750,250)-300
-
Script:
master.displayName:set([[Dizzy III]]) master.description:replace([[spend 4 SP]],[[spend 3 SP]]) master.addOns[1].variables:replace([[vDizzyCost = 4]],[[vDizzyCost = 3]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Name:
mDizzyIV
-
Displayed name:
Dizzy IV
-
Description:
Increase the Psychological Impaired to 2.
-
Cost:
expCost(1500,250)-375
-
Script:
master.displayName:set([[Dizzy IV]]) master.description:replace([[Psychological Impaired 1]],[[Psychological Impaired 2]]) master.addOns[1].variables:replace([[vDizzyImpaired = 1]],[[vDizzyImpaired = 2]])
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-